﻿using System;

class Program
{
    static void Main()
    {
        string name = AskForName();
        Console.WriteLine("Hello, {0}!",name);
    }

    private static string AskForName()
    {
        Console.WriteLine("What's your name?");
        string name = Console.ReadLine();
        return name;
    }
}